package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbCldwsjhglMapper;
import com.ruoyi.tjbb.domain.SysTjbbCldwsjhgl;
import com.ruoyi.tjbb.service.ISysTjbbCldwsjhglService;

/**
 * 车辆定位数据合格率Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbCldwsjhglServiceImpl implements ISysTjbbCldwsjhglService 
{
    @Autowired
    private SysTjbbCldwsjhglMapper sysTjbbCldwsjhglMapper;

    /**
     * 查询车辆定位数据合格率
     * 
     * @param id 车辆定位数据合格率主键
     * @return 车辆定位数据合格率
     */
    @Override
    public SysTjbbCldwsjhgl selectSysTjbbCldwsjhglById(Long id)
    {
        return sysTjbbCldwsjhglMapper.selectSysTjbbCldwsjhglById(id);
    }

    /**
     * 查询车辆定位数据合格率列表
     * 
     * @param sysTjbbCldwsjhgl 车辆定位数据合格率
     * @return 车辆定位数据合格率
     */
    @Override
    public List<SysTjbbCldwsjhgl> selectSysTjbbCldwsjhglList(SysTjbbCldwsjhgl sysTjbbCldwsjhgl)
    {
        return sysTjbbCldwsjhglMapper.selectSysTjbbCldwsjhglList(sysTjbbCldwsjhgl);
    }

    /**
     * 新增车辆定位数据合格率
     * 
     * @param sysTjbbCldwsjhgl 车辆定位数据合格率
     * @return 结果
     */
    @Override
    public int insertSysTjbbCldwsjhgl(SysTjbbCldwsjhgl sysTjbbCldwsjhgl)
    {
        return sysTjbbCldwsjhglMapper.insertSysTjbbCldwsjhgl(sysTjbbCldwsjhgl);
    }

    /**
     * 修改车辆定位数据合格率
     * 
     * @param sysTjbbCldwsjhgl 车辆定位数据合格率
     * @return 结果
     */
    @Override
    public int updateSysTjbbCldwsjhgl(SysTjbbCldwsjhgl sysTjbbCldwsjhgl)
    {
        return sysTjbbCldwsjhglMapper.updateSysTjbbCldwsjhgl(sysTjbbCldwsjhgl);
    }

    /**
     * 批量删除车辆定位数据合格率
     * 
     * @param ids 需要删除的车辆定位数据合格率主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbCldwsjhglByIds(Long[] ids)
    {
        return sysTjbbCldwsjhglMapper.deleteSysTjbbCldwsjhglByIds(ids);
    }

    /**
     * 删除车辆定位数据合格率信息
     * 
     * @param id 车辆定位数据合格率主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbCldwsjhglById(Long id)
    {
        return sysTjbbCldwsjhglMapper.deleteSysTjbbCldwsjhglById(id);
    }
}
